{extend name="Public/public"}
{block name="title"}用户组添加{/block}
{block name="main"}
  <div class="col-sm-5"> 
   <div class="widget-box"> 
    <div class="widget-header"> 
     <h4>Default</h4> 
    </div> 
    <div class="widget-body"> 
     <div class="widget-main no-padding"> 
      <form action="/users/insert" method="post"> 
       <!-- <legend>Form</legend> --> 
       <fieldset> 
        <label>用户组名称</label> 
        <input type="text" name="name" /> <br>
       </fieldset> 
        <fieldset> 
        <label>用户组权限</label> 
        <select name="details" id="">
          {foreach name="data" item="row"}
          <option value="{$row.details}"{if condition="$row.details eq 0"}selected{/if}>{$row.details}级</option>
          {/foreach}
        </select>
       </fieldset> 
       
        <div class="form-actions center"> 
        <input type="submit" class="btn btn-sm btn-success" value="添加">
       </div> 
      </form> 
     </div> 
    </div> 
   </div> 
  </div>
{/block}